|
| | WOLF_MAP_CREATE (MapBase) |
| |
| | ~MapBase () override=default |
| |
| bool | hasChildren () const override |
| | Returns whether the node has children in the Wolf tree. More...
|
| |
| LandmarkBaseConstPtrList | getLandmarkList () const |
| | Returns the landmarks of the map. More...
|
| |
| LandmarkBasePtrList | getLandmarkList () |
| | Returns the landmarks of the map. More...
|
| |
| LandmarkBaseConstPtr | getLandmark (const unsigned int &_id) const |
| | Returns the landmark with a given id (nullptr if not found) More...
|
| |
| LandmarkBasePtr | getLandmark (const unsigned int &_id) |
| | Returns the landmark with a given id (nullptr if not found) More...
|
| |
| virtual void | load (std::string _map_file_yaml) |
| | Creates the landmarks of a YAML map file and links them to the map. More...
|
| |
| virtual bool | save (std::string _map_file_yaml, const std::string &_map_name="") const |
| | Saves the landmarks to a YAML map file. Returns whether it succeeded. More...
|
| |
| virtual void | printHeader (int depth, bool factored_by, bool metric, bool state_blocks, std::ostream &stream, std::string _tabs="") const |
| | Prints the information of this node (not of its children) More...
|
| |
| virtual void | print (int depth, bool factored_by, bool metric, bool state_blocks, std::ostream &stream=std::cout, std::string _tabs="") const |
| | Prints this node and, depending on the depth, its children. More...
|
| |
| virtual CheckLog | localCheck (bool _verbose, std::ostream &_stream, std::string _tabs="") const |
| | Checks the consistency of this node (not of its children) More...
|
| |
| virtual bool | check (CheckLog &_log, bool _verbose, std::ostream &_stream, std::string _tabs="") const |
| | Checks the consistency of this node and its children, composing the log. More...
|
| |
| | NodeBase (const std::string &_category, const std::string &_type="Undefined", const std::string &_name="") |
| | Constructor. More...
|
| |
| virtual | ~NodeBase ()=default |
| | Destructor. More...
|
| |
| unsigned int | nodeId () const |
| | Returns the node id, unique over the whole Wolf tree. More...
|
| |
| std::string | getCategory () const |
| | Returns the category of the node. More...
|
| |
| std::string | getType () const |
| | Returns the type (subcategory) of the node. More...
|
| |
| std::string | getName () const |
| | Returns the name of the node. More...
|
| |
| bool | isRemoving () const |
| | Returns whether the node is being removed. More...
|
| |
| virtual bool | hasChildren () const =0 |
| | Returns whether the node has children in the Wolf tree. More...
|
| |
| void | setType (const std::string &_type) |
| | Sets the type (subcategory) of the node. More...
|
| |
| void | setName (const std::string &_name) |
| | Sets the name of the node. More...
|
| |
| ProblemConstPtr | getProblem () const |
| | Returns the problem the node belongs to. More...
|
| |
| ProblemPtr | getProblem () |
| | Returns the problem the node belongs to. More...
|
| |
|
| | MapBase () |
| | Default constructor. More...
|
| |
| | MapBase (const YAML::Node &_params) |
| | Constructor from YAML parameters (not used by MapBase) More...
|
| |
| | MapBase (const std::string &_type, const YAML::Node &_params) |
| | Constructor for derived maps, with their type and YAML parameters. More...
|
| |
| virtual LandmarkBasePtr | addLandmark (LandmarkBasePtr _landmark_ptr) |
| | Adds a landmark to the list of landmarks. More...
|
| |
| virtual void | removeLandmark (LandmarkBasePtr _landmark_ptr) |
| | Removes a landmark from the list of landmarks. More...
|
| |
| virtual void | setProblem (ProblemPtr _prob_ptr) |
| | Sets the problem the node belongs to. More...
|
| |
Base class of maps: container of the landmarks.